package com.it.emall.vo;

import lombok.Data;

@Data
public class HealthStatusVo {
    private int minCalories;
    private int maxCalories;
    private int minProtein;
    private int maxProtein;
    private int minFat;
    private int maxFat;
    private int minCarb;
    private int maxCarb;

    // 构造函数：接受8个参数来设置健康范围
    public HealthStatusVo(int minCalories, int maxCalories, int minProtein, int maxProtein,
                          int minFat, int maxFat, int minCarb, int maxCarb) {
        this.minCalories = minCalories;
        this.maxCalories = maxCalories;
        this.minProtein = minProtein;
        this.maxProtein = maxProtein;
        this.minFat = minFat;
        this.maxFat = maxFat;
        this.minCarb = minCarb;
        this.maxCarb = maxCarb;
    }

    // 其他getter和setter方法

    public int getMinCalories() {
        return minCalories;
    }

    public void setMinCalories(int minCalories) {
        this.minCalories = minCalories;
    }

    public int getMaxCalories() {
        return maxCalories;
    }

    public void setMaxCalories(int maxCalories) {
        this.maxCalories = maxCalories;
    }

    public int getMinProtein() {
        return minProtein;
    }

    public void setMinProtein(int minProtein) {
        this.minProtein = minProtein;
    }

    public int getMaxProtein() {
        return maxProtein;
    }

    public void setMaxProtein(int maxProtein) {
        this.maxProtein = maxProtein;
    }

    public int getMinFat() {
        return minFat;
    }

    public void setMinFat(int minFat) {
        this.minFat = minFat;
    }

    public int getMaxFat() {
        return maxFat;
    }

    public void setMaxFat(int maxFat) {
        this.maxFat = maxFat;
    }

    public int getMinCarb() {
        return minCarb;
    }

    public void setMinCarb(int minCarb) {
        this.minCarb = minCarb;
    }

    public int getMaxCarb() {
        return maxCarb;
    }

    public void setMaxCarb(int maxCarb) {
        this.maxCarb = maxCarb;
    }
}
